package com.lpgu.xml.repositories;

import com.lpgu.xml.pojo.Customer;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * @author: lpgu
 * @describe:CustomerMethodNameRepostitory
 * @createAt: 2021/12/31 21:51
 */
public interface CustomerMethodNameRepository extends PagingAndSortingRepository<Customer,Long> {
  List<Customer>  findByCustName(String name);

  List<Customer> findByCustNameLike(String name);
}
